
 function login() {
    let text = document.getElementById('user').value;
    let password = document.getElementById('pwd').value;
    if(text === 'admin' && password === '123456') {
        window.location.href = 'http://47.116.207.219/homepage';
        alert('登录成功');
    } else {
      alert('账号或密码错误，请重新输入!');
    }
  } 
